// ChatPassDlg.cpp : implementation file
//

#include "stdafx.h"
#include "ChatPassDlg.h"
#include "afxdialogex.h"
#include "ChatMessage.h"

// ChatPassDlg dialog

IMPLEMENT_DYNAMIC(ChatPassDlg, CDialogEx)

ChatPassDlg::ChatPassDlg(CWnd* pParent /*=NULL*/)
	: CDialogEx(ChatPassDlg::IDD, pParent)
	, m_edPass1(_T(""))
	, m_edPass2(_T(""))
{

}

ChatPassDlg::~ChatPassDlg()
{
}

void ChatPassDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialogEx::DoDataExchange(pDX);
	DDX_Text(pDX, IDC_EDIT_PASS1, m_edPass1);
	DDV_MaxChars(pDX, m_edPass1, PASSWORD_LEN);
	DDX_Text(pDX, IDC_EDIT_PASS2, m_edPass2);
	DDV_MaxChars(pDX, m_edPass2, PASSWORD_LEN);
}


BEGIN_MESSAGE_MAP(ChatPassDlg, CDialogEx)
	ON_WM_CLOSE()
END_MESSAGE_MAP()


// ChatPassDlg message handlers


void ChatPassDlg::OnClose()
{
	// TODO: Add your message handler code here and/or call default

	CDialogEx::OnClose();
}
